Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayHolderExt Class / GetFloat Method / GetFloat(IPdfArrayHolder,Int32,Nullable<Single>) Method
The current PDF array holder.
The index of the item to return.
The default value.

In This Topic
    GetFloat(IPdfArrayHolder,Int32,Nullable<Single>) Method
    In This Topic
    Gets the float value at the specified index.

    If the value cannot be converted to a float, returns defValue and adds a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog.

    Syntax
    'Declaration
     
    Public Overloads Shared Function GetFloat( _
       ByVal pah As IPdfArrayHolder, _
       ByVal index As System.Integer, _
       ByVal defValue As System.Nullable(Of Single) _
    ) As System.Nullable(Of Single)
    public static System.Nullable<float> GetFloat( 
       IPdfArrayHolder pah,
       System.int index,
       System.Nullable<float> defValue
    )

    Parameters

    pah
    The current PDF array holder.
    index
    The index of the item to return.
    defValue
    The default value.

    Return Value

    The value at the specified index.
    See Also